﻿<%@ Page Language="C#" MasterPageFile="~/System/MasterPage2.master" AutoEventWireup="true"
    CodeFile="JingJiaGS.aspx.cs" Inherits="Agency_JingJiaGS" Title="Untitled Page" %>

<%@ Register Src="../System/DbPageFlip.ascx" TagName="DbPageFlip" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="Agency" runat="Server">

    <script language="javascript">
        function SelectAll()
        {
            var i;
             var a = document.getElementsByName('chk');
             for( i = 0;i < a.length;i++)
            {
                a[i].checked = true; 
            }           
        }
        function ClearAll()
        {
            var i;
             var a = document.getElementsByName('chk');
             
             for( i = 0;i < a.length;i++)
            {
                a[i].checked = false; 
            }           
        }
        function CheckOthers()
        {
            var i;
            var a = document.getElementsByName('chk');
             
             for( i = 0;i < a.length;i++)
            {
            
                if(a[i].checked!=true)
                {
                    a[i].checked =true ; 
                }
                else
                {   
                    a[i].checked = false; 
                }
            }           
            
        }
    </script>

    <table width="98%" border="0" cellpadding="0" cellspacing="0">
        <tr>
            <td width="4" style="height: 34px">
                <img src="../Images/intro_left.gif" width="4" height="34"></td>
            <td class="intro_wordbg" style="height: 34px">
                竞价结果一栏表</td>
            <td background="../Images/intro_bg.gif" style="height: 34px">
                <img src="../images/intro_right.jpg" width="118" height="34" /></td>
        </tr>
    </table>
    <table width="98%" border="1" align="center" cellpadding="0" cellspacing="0">
        <!--<tr>
   <td style="width: 62px" >选择项目：</td>
   <td colspan=3>
       <asp:DropDownList ID="listProject" runat="server" Width="641px">
       </asp:DropDownList></td>
   </tr>-->
        <tr>
            <td align="right">
                品目号：</td>
            <td>
                <asp:TextBox runat="server" ID="ProductCode" Width="271px"></asp:TextBox></td>
            <td align="right" style="width: 94px">
                通用名：</td>
            <td style="width: 322px">
                <asp:TextBox runat="server" ID="ProductName" Width="271px"></asp:TextBox></td>
        </tr>
        <tr>
            <td align="right" style="height: 24px">
                规格：</td>
            <td style="height: 24px">
                <asp:TextBox runat="server" ID="Outlookc" Width="271px"></asp:TextBox>
            </td>
            <td align="right" style="height: 24px; width: 94px;">
                投标人：</td>
            <td style="height: 24px; width: 322px;">
                <asp:DropDownList ID="Company" runat="server" Width="271px">
                </asp:DropDownList></td>
        </tr>
        <tr>
            <td align="right">
                生产企业：</td>
            <td style="height: 17px">
                <asp:TextBox ID="txtSC" runat="server" Width="271px"></asp:TextBox></td>
            <td align="right" style="width: 94px">
                投标人注册号：</td>
            <td style="height: 17px; width: 322px;">
                <asp:TextBox ID="txtCompanyUserCode" runat="server" Width="269px"></asp:TextBox></td>
        </tr>
        <tr>
            <td align="right">
                药品流水号：</td>
            <td style="height: 24px">
                <asp:TextBox ID="txtGoodsId" runat="server" Width="271px"></asp:TextBox></td>
            <td align="right" style="width: 94px">
                <asp:Button ID="Button5" runat="server" Text="查 询" CssClass="button_bg4" OnClick="Button5_Click"
                    Width="70px" /></td>
            <td style="width: 322px">
                <input id="SubSave" class="button_bg6" name="SubSave" style="width: 90px" type="submit"
                    value="保存备注信息" />
                <input id="Submit1" type="submit" value="打  印" name="subPrint" class="button_bg6"
                    style="width: 90px" onclick="javascript:return CheckForm();" /></td>
        </tr>
    </table>
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" CssClass='table_table'
        HeaderStyle-CssClass='table_title' Width="100%" OnRowDataBound="GridView1_RowDataBound">
        <Columns>
            <asp:BoundField DataField="BidId" HeaderText="品目号" HtmlEncode="false" />
            <asp:BoundField DataField="ProductCode" HeaderText="品目号" />
            <asp:BoundField DataField="ProductName" HeaderText="通用名" />
            <asp:BoundField DataField="Medicinemodel" HeaderText="剂型" />
            <asp:BoundField DataField="Outlookc" HeaderText="规格" />
            <asp:BoundField DataField="goodsname" HeaderText="商品名" />
            <asp:BoundField DataField="factor" HeaderText="转换系数" />
            <asp:BoundField DataField="QualityLevels" HeaderText="质量层次" />
            <asp:BoundField DataField="CompanyName_SC" HeaderText="生产企业" />
            <asp:BoundField DataField="UserCode_SC" HeaderText="注册号" />
            <asp:BoundField DataField="CompanyName_TB" HeaderText="投标人" />
            <asp:BoundField DataField="UserCode_TB" HeaderText="注册号" />
            <asp:BoundField DataField="CompetePackPrice" HeaderText="竞价报价" HtmlEncode="false"
                DataFormatString="{0:N2}" />
            <asp:BoundField DataField="CompeteMinPrice" HeaderText="竞价制剂价" HtmlEncode="false"
                DataFormatString="{0:N4}" />
            <asp:TemplateField HeaderText="备注">
                <ItemTemplate>
                </ItemTemplate>
                <ItemStyle Width="40px" />
            </asp:TemplateField>
            <asp:BoundField DataField="beizhu" HeaderText="备注" />
        </Columns>
        <RowStyle CssClass="table_td" />
        <AlternatingRowStyle CssClass="table_td2" />
        <HeaderStyle CssClass="table_title" />
    </asp:GridView>
    <asp:Label ID="Label1" runat="server" Text="Label"   Visible="false"></asp:Label>
    <br />
    <uc1:DbPageFlip ID="DbPageFlip1" runat="server" />
</asp:Content>
